package 设计原则.里氏替换;

/**
 * @Author: kirito
 * @Date: 2024/3/7 13:09
 * @Description: 长方形类
 */

public class Rectangle {
    private double length;
    private double width;

    public double getLength() {
        return length;
    }

    public void setLength(double length) {
        this.length = length;
    }

    public double getWidth() {
        return width;
    }

    public void setWidth(double width) {
        this.width = width;
    }
}
